package vo

import "shop-manager/internal/do"

type CreatePersonReq struct {
	Name string
	Note string
	Type do.PersonType
}

type CreatePersonRsp struct {
	ID int
}

type UpdatePersonReq struct {
	ID   int
	Name string
	Note string
	Type do.PersonType
}

type ListPersonReq struct {
	IDs        []int
	Page       int
	PageSize   int
	Search     string
	Sorts      string
	PersonType do.PersonType
}

type ListPersonRspItem = Person

type Person struct {
	ID          int
	Name        string
	Note        string
	Type        do.PersonType
	TypeDisplay string
}
